import { Sequelize } from "sequelize";
const db = new Sequelize('MyBlog', 'root', 'vector', {
  host: 'localhost',
  port: 3306,
  dialect: 'mysql', // 数据库类型，如 'mysql', 'postgres' 等
  logging: (sql) => console.log(sql)
});

export default db;